package com.yunhe.dao.Impl;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

import com.yunhe.dao.YongHuDao;
import com.yunhe.entity.YongHu;

public class YongHuDaoImpl implements YongHuDao {
	
	@Test
	public List<YongHu> getAll() {
		 
		 		
				SqlSession session = com.yunhe.dao.Impl.SessionFactoryUtil.getSession();
				
				
				List<YongHu>list = session.selectList("com.yunhe.dao.YongHuDao.getAll");
		 
		
		return list;
	}

}
